<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>商品类型列表</title>
	<hdjs/>
</head>
<body>
	<div class="menu_list">
					<ul>
						<li>
							<a class="action" href="{|U:'GoodsType/index'}">
								商品类型
							</a>
						</li>
						<li>
							<a href="{|U:'add',array('aid'=>$_GET[aid])}">
								添加属性
							</a>
						</li>
						
					</ul>
				</div>
		<table class="table2">
		    <thead>
			<tr>
				<th>属性ID</th>
				<th>属性名</th>
				<th>规格</th>
				<th>类型（商品类型）</th>
				<th>操作</th>
			</tr>
		   </thead>
		     <list from="$data" name="d">
		     	<tr>
		     		<th>{$d.ac_id}</th>
				<th>{$d.attr_name}</th>
				<th>
                                               <if value="{$d.is_spec eq 1}">
                                               	    <span style="color:red">是</span>
                                               	    <else>
                                               	    	不是 
                                               </if>
				</th>
				<th>{$d.add_goods_type_aid}</th>
				<th>
					<a href="{|U:'del',array('ac_id'=>$d[ac_id])}">删除</a>
					<a href="{|U:'edit',array('ac_id'=>$d[ac_id])}">编辑</a>
				</th>
		     	</tr>
		     </list>
		</table>
</body>
</html>















